/*
 * @Description: 员工信息
 * @Author: zhr
 */
import request from "@/utils/request";

// 新增员工教育经历
export function addEducationRecord(data) {
  return request({
    url: "/hr/api/v1/empEducations",
    method: "post",
    data: data
  });
}

// 删除员工教育经历
export function delEducationRecord(data) {
  return request({
    url: "/hr/api/v1/empEducations/deleteEmpEducation/" + data.id,
    method: "delete",
    data: data
  });
}

// 修改员工教育经历
export function editEducationRecord(data) {
  return request({
    url: "/hr/api/v1/empEducations/",
    method: "put",
    data: data
  });
}
